package com.kcwl.carrier.infrastructure.enums;

/**
 * @author zxx
 * @date 2022年12月02日 11:27
 * @Description 外协运力邀请
 */
public enum InviteStatusEnum {

    BE_ACCEPTED(10, "已通过"),
    AGREE(11, "已拒绝"),
    REJECT(12, "待确认"),
    //20车队长通过21车队长拒绝22待车队长确认
    FLEET_ACCEPT(20,"车队长通过"),
    FLEET_REJECT(21,"车队长拒绝"),
    FLEET_WAIT_CONFIRM(22,"车队长待确认");


    private int code;

    private String msg;

    InviteStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return msg;
    }
}
